package com.oo.inherit_3.familyCar;

/**
 * Test--${description}
 *
 * @author: Jovi
 * @createTime: 2017-05-09 15:03
 **/
public class Test {

    public static void main(String[] args) {

        Car c = new Car();
        c.start();
        c.stop();
        System.out.println("==================");

        FamilyCar f = new FamilyCar("武大郎");
        f.start();
        f.stop();
        System.out.println("==================");

        HackCar h = new HackCar("出租车", "京B123", "景顺");
        h.start();
        h.stop();
    }
}

